//
//  UIImage+Crop.h
//  PrintFamily
//
//  Created by edaihua on 16/2/28.
//  Copyright © 2016年 ___PrintFactory___. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (Crop)
- (UIImage*)cropImageWithRect:(CGRect)cropRect;
- (UIImage*)getCroppedPotraitImageToFitSize:(CGSize)rectSize cropPoint:(CGPoint)originPoint orientation:(UIImageOrientation)orientation;
- (UIImage*)getImageInCenterAtSize:(CGSize)rectSize;
+ (UIImage *)fixrotation:(UIImage *)image;
+ (UIImage*)rotate:(UIImage*)image orientation:(UIImageOrientation)orientation;

@end
